package com.softeem.sss.dto;

import java.sql.Timestamp;

/**
 * Model1
 * Model2
 * MVC
 * JavaBean 可重用组件
 * DTO:Data Transfer Object 数据传输对象
 * @author mrchai
 *
 */
public class User {

	private int uid;
	private String username;
	private String password;
	private int intergral;
	private Timestamp regTime;
	private Timestamp lastLogin;
	private int isDel;
	
	public User() {
		
	}
	
	public User(int uid, String username, String password, int intergral, Timestamp regTime, Timestamp lastLogin,
			int isDel) {
		super();
		this.uid = uid;
		this.username = username;
		this.password = password;
		this.intergral = intergral;
		this.regTime = regTime;
		this.lastLogin = lastLogin;
		this.isDel = isDel;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getIntergral() {
		return intergral;
	}
	public void setIntergral(int intergral) {
		this.intergral = intergral;
	}
	public Timestamp getRegTime() {
		return regTime;
	}
	public void setRegTime(Timestamp regTime) {
		this.regTime = regTime;
	}
	public Timestamp getLastLogin() {
		return lastLogin;
	}
	public void setLastLogin(Timestamp lastLogin) {
		this.lastLogin = lastLogin;
	}
	public int getIsDel() {
		return isDel;
	}
	public void setIsDel(int isDel) {
		this.isDel = isDel;
	}
	
	
	
}
